<div id="article-select">

    <eq name="nobody" value="no">

        <div class="title">
            <a href="__APP__/Article/add" class="add">添加文章</a> <a class="back" href="javascript:;">返回</a>
        </div>

        <div class="content">
            <div id="nodata">暂无文章</div>
        </div>
        <div class="footer">
            暂无文章
        </div>
        <else/>

        <div class="title">
            <form action="__APP__/MenuItem/add" method="post" class="getname">
                <div class="name">选择文章：<input type="text" name="getname"/> <input type="submit" value="下一步" /></div><a class="back" href="javascript:;">返回</a>
                <input type="hidden" name="mid" value="<{$Think.session.mid}>" />
                <input type="hidden" name="cid" value="<{$Think.session.cid}>" />
                <input type="hidden" name="sid" value="" />
            </form>
        </div>

        <div class="content">

            <div class="search">
                <form action="__APP__/Article/select" method="post" class="select">
                    <input type="hidden" name="mid" value="<{$Think.session.mid}>" />
                    <input type="hidden" name="cid" value="<{$Think.session.cid}>" />
                    关键字 <input type="text" name="key" /> 按
                    <select name="search">
                        <option value="1">ID</option>
                        <option value="2">文章名</option>
                    </select>
                    <input type="submit" value="搜索" />
                </form>
            </div>

            <table>
                <thead>
                <tr>
                    <th>ID</th><th>文章名</th><th>描述</th><th>选择</th>
                </tr>
                </thead>
                <tbody>
                <volist name="list" id="vo">
                    <tr>
                        <td><{$vo['id']}></td>
                        <td class="name"><{$vo['name']}></td>
                        <td><{$vo['description']}></td>
                        <td><input type="radio" name="id" value="<{$vo['id']}>" /></td>
                    </tr>
                </volist>
                </tbody>
            </table>

        </div>
        <div class="footer">
            <{$show|default="暂无数据"}>
        </div>
    </eq>

</div>
<script src="../Public/js/article_index.js"></script>